package com.lixueju.security.box.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lixueju
 * @since 2019/11/13 15:04
 **/
@Data
@ConfigurationProperties("security-box")
public class SecurityBoxProperties {
    /**
     * 当前客户端配置
     */
    private OAuth2ClientProperties client = new OAuth2ClientProperties();

    /**
     * 微信相关配置
     */
    private WeixinProperties weixin = new WeixinProperties();

    /**
     * 不需要认证的URL，用英文分号分隔。
     */
    private String openUrl = "";

    /**
     * OAuth2认证服务器配置
     */
    private OAuth2Properties oauth2 = new OAuth2Properties();

    /**
     * 验证码配置
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

}
